package chongxin;

public class test {
    public static void main(String[] args) {
        //多态
        //learn3 th=new Dog();

        Dog dog =new Dog();
        dog.print();
        dog.test();
        Cat cat=new Cat();
        cat.print();
        cat.test();
    }
}
